<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'basic';
/*******basic*******/
if($_RQ['op']=='basic'){
	$item['managelink']=manage_url('core/home.applogin//onesysname=jy_pifashop',true);
	$links=array(
		array('title'=>'首页','url'=>'jy_pifashop/index//current_plugin=jy_pifashop'),
		array('title'=>'商品列表','url'=>'jy_pifashop/goods.index//current_plugin=jy_pifashop'),
		array('title'=>'商品分类','url'=>'jy_pifashop/shop.groups//current_plugin=jy_pifashop'),
		array('title'=>'会员中心','url'=>'jy_pifashop/member.index//current_plugin=jy_pifashop'),
		array('title'=>'供应商申请','url'=>'jy_supplier/register/'),
		array('title'=>'供应商登录','url'=>'jy_supplier/manage.login/'),
		array('title'=>'批发商申请','url'=>'jy_merch/register/'),
		array('title'=>'批发商登录','url'=>'jy_merch/manage.login/'),
		array('title'=>'月结会员','url'=>'jy_yuejie/index/'),
	);
	$htmls=array(
		'type'=>'look',
		'desc'=>'入口链接',
		'look'=>array(
			array('type'=>'tip','title'=>'[温馨提示]：从独立系统入口登录本程序，更好的体验相关功能！'),
			array('type'=>'copy','title'=>'独立系统入口','name'=>'managelink'),
			array('type'=>'help','title'=>'其他前端常用链接','help'=>''),
		),
	);
	foreach($links as $k=>$uv){
		$item['links'.$k]=$uv['url'];
		$htmls['look'][]=array('type'=>'looklink','title'=>$uv['title'],'name'=>'links'.$k);
	}
	$return['item']=$item;
	$return['htmls']=$htmls;
	exi($return);
}